package com.jmp.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import one.stand.dto.PageResponse2;

@Data
@Builder
public class SupplierLiveResponse {
    @ApiModelProperty(value = "直播间列表", dataType = "SupplierLiveResponse.Live")
    private PageResponse2<Live> livePage;

    @ApiModel("SupplierLiveResponse.Live")
    @Data
    @Builder
    public static class Live {
        @ApiModelProperty("直播ID")
        private Integer roomId;
        @ApiModelProperty("直播图片")
        private String photo;
        @ApiModelProperty("状态图片:直播中 预告 回放")
        private String status;
        @ApiModelProperty("观看人数")
        private String viewNum;
        @ApiModelProperty("时间(时间戳）")
        private Long time;
    }
}
